import React, { useState , useEffect,useContext} from 'react';


import { ThemeContext } from './createContext';


const View = (props)=>{
    const theme = useContext(ThemeContext);
    console.log(theme)
    return(
        <div className="m">
            <h3>hook context</h3>
        </div>
    )
}
export default View;
